package ru.nsu.ccfit.kalah.game;

/**
 * Created with IntelliJ IDEA.
 * User: zheka
 * Date: 19.12.12
 * Time: 12:58
 * To change this template use File | Settings | File Templates.
 */
public class ShiftOneStoneAnimation extends AbstractMoveAnimation {
    private int from;
    private int to;

    public ShiftOneStoneAnimation(int from, int to) {
        this.from = from;
        this.to = to;
    }

    @Override
    public void animate(MoveAnimator animator) {
        animator.move(from, to);
    }
}
